package com.bjsxt.sm.admin.dao;

import com.bjsxt.sm.admin.pojo.AAdmins;
import com.bjsxt.sm.admin.pojo.AAdminsExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface AAdminsMapper {
    int countByExample(AAdminsExample example);

    int deleteByExample(AAdminsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AAdmins record);

    int insertSelective(AAdmins record);

    List<AAdmins> selectByExample(AAdminsExample example);

    AAdmins selectByPrimaryKey(Integer id);
    
    AAdmins selectByEmail(Map<String, Object> condMap);

    int updateByExampleSelective(@Param("record") AAdmins record, @Param("example") AAdminsExample example);

    int updateByExample(@Param("record") AAdmins record, @Param("example") AAdminsExample example);

    int updateByPrimaryKeySelective(AAdmins record);

    int updateByPrimaryKey(AAdmins record);
}